    import React, { Component } from 'react'
    import { withRouter } from 'react-router-dom'

    class Test extends Component {
        render() {
            console.log(this.props);
            return (
                <>
                    test组件
                </>
            )
        }
    }

    export default withRouter(Test)